import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
//引入全局重置样式
import './assets/css/reset.css'

Vue.prototype.$Bus = new Vue()

//引入http（axios的封装）
import "./utils/http"
//全局图片前置路径
Vue.prototype.$pregImg = "http://localhost:3000"
//引入element-ui
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
Vue.use(ElementUI);

Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
